package yl.hs.bmipfull.pojo.material;

import lombok.Data;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * 作用:  原材信息实体类<br/>
 * 创建时间: 2021年05月18日 10时32分39秒 <br/>
 *
 * @author 吴高丰
 */
@DBTable(disName = "原材信息", mapCode = "raw_material_info")
@Data
public class RawMaterialInfoEntity extends BaseEntity {
    private Long id;
    @DBField(disName = "原材信息信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "RAMI")
    private String sn;
    @DBField(disName = "类别编号")
    private String rmCateSN;
    @DBField(disName = "类别名称")
    private String rmCateName;
    @DBField(disName = "原材名称")
    private String rmName;
    private String rmNamePY;
    @DBField(disName = "原材规格")
    private String rmSpec;
    @DBField(disName = "品牌产地")
    private String brand;
    private String rmTags;
    private String organizationCode;
    @DBField(disName = "备注")
    private String remark;
    private Short state;
    private int warehouseType;

    private BigDecimal price;
    private BigDecimal nowPrice;
    public int getWarehouseType() {
        return warehouseType;
    }

    public void setWarehouseType(int warehouseType) {
        this.warehouseType = warehouseType;
    }

    /**
     * 获取主键
     *
     * @return
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置主键
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取编号
     *
     * @return
     */
    public String getSn() {
        return this.sn;
    }

    /**
     * 设置编号
     *
     * @param sn
     */
    public void setSn(String sn) {
        this.sn = sn;
    }

    /**
     * 获取原材类别编号
     *
     * @return
     */
    public String getRmCateSN() {
        return this.rmCateSN;
    }

    /**
     * 设置原材类别编号
     *
     * @param rmCateSN
     */
    public void setRmCateSN(String rmCateSN) {
        this.rmCateSN = rmCateSN;
    }

    /**
     * 获取原材类别名称
     *
     * @return
     */
    public String getRmCateName() {
        return this.rmCateName;
    }

    /**
     * 设置原材类别名称
     *
     * @param rmCateName
     */
    public void setRmCateName(String rmCateName) {
        this.rmCateName = rmCateName;
    }

    /**
     * 获取原材名称
     *
     * @return
     */
    public String getRmName() {
        return this.rmName;
    }

    /**
     * 设置原材名称
     *
     * @param rmName
     */
    public void setRmName(String rmName) {
        this.rmName = rmName;
    }

    /**
     * 获取原材名称拼音
     *
     * @return
     */
    public String getRmNamePY() {
        return this.rmNamePY;
    }

    /**
     * 设置原材名称拼音
     *
     * @param rmNamePY
     */
    public void setRmNamePY(String rmNamePY) {
        this.rmNamePY = rmNamePY;
    }

    /**
     * 获取原材规格
     *
     * @return
     */
    public String getRmSpec() {
        return this.rmSpec;
    }

    /**
     * 设置原材规格
     *
     * @param rmSpec
     */
    public void setRmSpec(String rmSpec) {
        this.rmSpec = rmSpec;
    }

    /**
     * 获取品牌/产地
     *
     * @return
     */
    public String getBrand() {
        return this.brand;
    }

    /**
     * 设置品牌/产地
     *
     * @param brand
     */
    public void setBrand(String brand) {
        this.brand = brand;
    }

    /**
     * 获取原材标签
     *
     * @return
     */
    public String getRmTags() {
        return this.rmTags;
    }

    /**
     * 设置原材标签
     *
     * @param rmTags
     */
    public void setRmTags(String rmTags) {
        this.rmTags = rmTags;
    }

    /**
     * 获取组织代码
     *
     * @return
     */
    public String getOrganizationCode() {
        return this.organizationCode;
    }

    /**
     * 设置组织代码
     *
     * @param organizationCode
     */
    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    /**
     * 获取备注
     *
     * @return
     */
    public String getRemark() {
        return this.remark;
    }

    /**
     * 设置备注
     *
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取状态
     *
     * @return
     */
    public Short getState() {
        return this.state;
    }

    /**
     * 设置状态
     *
     * @param state
     */
    public void setState(Short state) {
        this.state = state;
    }
}
